package engine.objects;

import java.io.Serializable;

public class ObjectCollision implements Serializable{

	private static final long serialVersionUID = 1L;

	private PhysicsObject object ; 
	private boolean colliding ;
	
	public ObjectCollision(PhysicsObject  object, boolean colliding) {
		super();
		this.object = object;
		this.colliding = colliding;
	}
	
	public PhysicsObject getObject() {
		return object;
	}
	
	public boolean isColliding() {
		return colliding;
	}
	
	public static ObjectCollision getDefaultObjectCollision(){
		return new ObjectCollision(null, false); 
	}
	
	
	
}
